// /src/vuex/store.js
import Vue from 'vue'
import Vuex from 'vuex'
import createLogger from '../common/logger'
Vue.use(Vuex)
const env = process.env.NODE_ENV
const debug = env == 'development'

export default new Vuex.Store({
    //在这里注册模块
    modules: { 

    },
    strict: debug,
    plugins: debug ? [createLogger()] : []
})